package com.jr.util;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: ZhiHu.Liu
 * @date: 2020/3/24 10:24 上午
 */
public class ExceptionUtil {


    public static String handleFlowException(int age, BlockException ex) {
        return "接收" + age + "顶不住了啊....";
    }

    public static String handleErrorException(int age, BlockException ex) {
        return "接收" + age + "歇菜了啊....";
    }

}
